﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace MaymuseMS.Models {
    public class SupplierUser {
        public int SupplierUserId { get; set; }
        [Required]
        [MaxLength(50)]
        public string Name { get; set; }
        [MaxLength(50)]
        public string Phone { get; set; }
        [MaxLength(50)]
        public string Telephone { get; set; }
        [MaxLength(50)]
        public string Department { get; set; }
        [MaxLength(50)]
        public string Post { get; set; }
        [MaxLength(200)]
        public string Email { get; set; }
        [MaxLength(5000)]
        public string Remark { get; set; }

        public int SupplierId { get; set; }
        public virtual Supplier Supplier { get; set; }
    }
}